package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 维修资料管理对象 sys_information
 *
 * @author ruoyi
 * @date 2022-01-05
 */
public class SysInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资料编号 */
    private Long id;

    /** 资料类型 */
    @Excel(name = "资料类型")
    private String informationType;

    /** 所属厂家 */
    @Excel(name = "所属厂家")
    private String informationFactory;

    /** 资料名称 */
    @Excel(name = "资料名称")
    private String informationName;

    /** 添加日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date informationTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setInformationType(String informationType)
    {
        this.informationType = informationType;
    }

    public String getInformationType()
    {
        return informationType;
    }
    public void setInformationFactory(String informationFactory)
    {
        this.informationFactory = informationFactory;
    }

    public String getInformationFactory()
    {
        return informationFactory;
    }
    public void setInformationName(String informationName)
    {
        this.informationName = informationName;
    }

    public String getInformationName()
    {
        return informationName;
    }
    public void setInformationTime(Date informationTime)
    {
        this.informationTime = informationTime;
    }

    public Date getInformationTime()
    {
        return informationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("informationType", getInformationType())
                .append("informationFactory", getInformationFactory())
                .append("informationName", getInformationName())
                .append("informationTime", getInformationTime())
                .toString();
    }
}